<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wickr-crypto-c: wickr_packet_meta</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">wickr-crypto-c
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wickr_packet_meta</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__ephemeral__info.html">wickr_ephemeral_info</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Message destruction control metadata.  <a href="structwickr__ephemeral__info.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__packet__meta.html">wickr_packet_meta</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">control metadata found in the encrypted payload of a packet  <a href="structwickr__packet__meta.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga146144d74da12c1fff766462fe7fa661"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__packet__meta.html#ga146144d74da12c1fff766462fe7fa661">wickr_packet_meta_create</a> (<a class="el" href="structwickr__ephemeral__info.html">wickr_ephemeral_info_t</a> ephemerality_settings, <a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *channel_tag, uint16_t content_type)</td></tr>
<tr class="separator:ga146144d74da12c1fff766462fe7fa661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1bb5a0f2a49069679b174b3e6521fe9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__packet__meta.html#ga1bb5a0f2a49069679b174b3e6521fe9b">wickr_packet_meta_copy</a> (const <a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a> *source)</td></tr>
<tr class="separator:ga1bb5a0f2a49069679b174b3e6521fe9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad165ad670da761478cf5f8f91223c1d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wickr__packet__meta.html#gad165ad670da761478cf5f8f91223c1d3">wickr_packet_meta_destroy</a> (<a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a> **meta)</td></tr>
<tr class="separator:gad165ad670da761478cf5f8f91223c1d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga1bb5a0f2a49069679b174b3e6521fe9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1bb5a0f2a49069679b174b3e6521fe9b">&#9670;&nbsp;</a></span>wickr_packet_meta_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a>* wickr_packet_meta_copy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a> *&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy an packet metadata set</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the packet metadata set to copy </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly packet metadata set holding a deep copy of the properties of 'source' </dd></dl>

</div>
</div>
<a id="ga146144d74da12c1fff766462fe7fa661"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga146144d74da12c1fff766462fe7fa661">&#9670;&nbsp;</a></span>wickr_packet_meta_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a>* wickr_packet_meta_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwickr__ephemeral__info.html">wickr_ephemeral_info_t</a>&#160;</td>
          <td class="paramname"><em>ephemerality_settings</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structwickr__buffer.html">wickr_buffer_t</a> *&#160;</td>
          <td class="paramname"><em>channel_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>content_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Construct packet metadata from components</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ephemerality_settings</td><td>see '<a class="el" href="structwickr__packet__meta.html" title="control metadata found in the encrypted payload of a packet">wickr_packet_meta</a>' property documentation property documentation </td></tr>
    <tr><td class="paramname">channel_tag</td><td>see '<a class="el" href="structwickr__packet__meta.html" title="control metadata found in the encrypted payload of a packet">wickr_packet_meta</a>' property documentation property documentation </td></tr>
    <tr><td class="paramname">content_type</td><td>see '<a class="el" href="structwickr__packet__meta.html" title="control metadata found in the encrypted payload of a packet">wickr_packet_meta</a>' property documentation property documentation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a newly allocated packet metadata set owning the properties passed in </dd></dl>

</div>
</div>
<a id="gad165ad670da761478cf5f8f91223c1d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad165ad670da761478cf5f8f91223c1d3">&#9670;&nbsp;</a></span>wickr_packet_meta_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wickr_packet_meta_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwickr__packet__meta.html">wickr_packet_meta_t</a> **&#160;</td>
          <td class="paramname"><em>meta</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy packet metadata set</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">meta</td><td>a pointer to the result to destroy. All properties of '*meta' will also be destroyed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
